package com.yunhe.common.constant;

/**
 * @ClassName PortalConstant
 * @Description 门户枚举
 * @Author HeTao
 * @Date 2021/7/21 15:25
 * @Version 1.0
 **/
public class PortalConstant {

    public enum Online_Type {
        //01 草稿箱 02 待发布 03 已发布 04 禁用
        Drafts("01", "草稿箱"),
        ToBeReleased("02","待发布"),
        Published("03", "已发布"),
        Disable("04", "禁用"),;
        private String value;
        private String title;
        Online_Type(String value, String title) {
            this.value = value;
            this.title = title;
        }
        public String value() {
            return value;
        }
        public String title() {
            return title;
        }
    }

    public enum Top_Type {
        Top("01", "置顶"),
        NotTop("02","不置顶");
        private String value;
        private String title;
        Top_Type(String value, String title) {
            this.value = value;
            this.title = title;
        }
        public String value() {
            return value;
        }
        public String title() {
            return title;
        }
    }

    public enum Notice_Type {
        //01 草稿箱 02 待发布 03 已发布 04 禁用
        Station("Station", "面向园区"),
        Company("Company","面向企业"),;
        private String value;
        private String title;
        Notice_Type(String value, String title) {
            this.value = value;
            this.title = title;
        }
        public String value() {
            return value;
        }
        public String title() {
            return title;
        }
    }

    public enum Banner_Type {
        Station("Station", "面向园区"),
        Company("Company","面向企业"),;
        private String value;
        private String title;
        Banner_Type(String value, String title) {
            this.value = value;
            this.title = title;
        }
        public String value() {
            return value;
        }
        public String title() {
            return title;
        }
    }

}
